/*
 * Util.cpp
 *
 *  Created on: Jun 14, 2011
 *      Author: hongyang
 */

#include "Util.h"

void Util::copy(SgPointSet& set1, const SgPointSet& s2) {
	for(SgSetIterator sit(s2); sit; ++sit)
		set1.Include(*sit);
}

void Util::copy(SgBWArray<int>& a1, const SgBWArray<int> a2) {
	a1[SG_BLACK] = a2[SG_BLACK];
	a1[SG_WHITE] = a2[SG_WHITE];
}
